package application;

public enum EffortMultiplyer {
	Very_Low(0), Low(1), Nominal(2), High(3), Very_High(4), Extra_High(5);
	private int nbrInVector;

	EffortMultiplyer(int nbrInVector) {
		this.nbrInVector = nbrInVector;
	}

	public static int getVectorPlace(String s) {
		if (s.equalsIgnoreCase("Very_Low")){
			return Very_Low.nbrInVector;
		}else if (s.equalsIgnoreCase("Low")){
			return Low.nbrInVector;
		}else if (s.equalsIgnoreCase("Nominal")){
			return Nominal.nbrInVector;
		}else if (s.equalsIgnoreCase("High")){
			return High.nbrInVector;
		}else if (s.equalsIgnoreCase("Very_High")){
			return Very_High.nbrInVector;
		}else if (s.equalsIgnoreCase("Extra_High")){
			return Extra_High.nbrInVector;
		}
		return 6;

	}
}
